<?php

namespace Admin\Controller;

class IndexController extends BaseController
{
    public function index()
    {
        $model=count(M('user')->select());
        $model1=count(M('movie')->select());
        $this->assign('users',$model);
        $this->assign('movies',$model1);
        $this->display();
    }
}